From bae393c8a08f9c5b90e9b2c0c019c976f7f2da80 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 27 Mar 2006 00:42:05 +0000 Subject: [PATCH] Use case_ignore_strncmp instead of strncasecmp. --- gpsbabel/wfff_xml.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gpsbabel/wfff_xml.c b/gpsbabel/wfff_xml.c index c9cc2d441..647c51517 100644 --- a/gpsbabel/wfff_xml.c +++ b/gpsbabel/wfff_xml.c @@ -213,14 +213,14 @@ void wfff_e(const char *args, const char **unused) wpt_tmp->fix = fix_unknown; wpt_tmp->wpt_flags.icon_descr_is_dynamic = 1; - if (strncasecmp(ap_wep,"On",2)==0) { - if (strncasecmp(ap_type,"AP",2)==0) { + if (case_ignore_strncmp(ap_wep,"On",2)==0) { + if (case_ignore_strncmp(ap_type,"AP",2)==0) { wpt_tmp->icon_descr = xstrdup(aicicon); /* Infra Closed */ } else { wpt_tmp->icon_descr = xstrdup(ahcicon); /* AdHoc Closed */ } } else { - if (strncasecmp(ap_type,"AP",2)==0) { + if (case_ignore_strncmp(ap_type,"AP",2)==0) { wpt_tmp->icon_descr = xstrdup(aioicon); /* Infra Open */ } else { wpt_tmp->icon_descr = xstrdup(ahoicon); /* AdHoc Open */ -- 2.30.2